
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
	<head>
		<%@ include file="/commons/meta.jsp"%>
	</head>

	<body>
		<table width="100%" height="100%" border="0" cellpadding="0"
			cellspacing="0">

			<tr>
				<td align="center" valign="top">
					<div id="position">
						当前位置：工单系统 - 字段管理 -查看字段
					</div>
					<form name="form1" method="post">
						<table width="95%" border="0" cellspacing="2" cellpadding="2">
							<tr>
								<td class="name">
									查看字段
								</td>
							</tr>
						</table>
						<table width="95%" border="0" cellspacing="2" cellpadding="2"
							bgcolor="#CEEFFF">
							<tr>
								<td align="left">
									<input type="button" name="Submit1" onClick="returnBack()"
										value="返回">
								</td>
							</tr>
						</table>

							<table width="95%" border="0" cellspacing="1" cellpadding="2"
								bgcolor="#CEEFFF">
								 
								<s:iterator value="view.keySet()" id="group">
									<tr>
										<td width="100" bgcolor="#FFFFFF">
											<div class="item">
												${group}:
											</div>
										</td>
										<td bgcolor="#FFFFFF">
											<s:iterator value="view.get(#group)" id="list">
												<s:iterator value="list" id="fname">
													<s:property value="name" />
													<s:if test="type == FIELD_TYPE_TEXT">
														<input name="${id}" type="text" size="10"
															value="${extendAttributes['inputValue'].value}">
													</s:if>
													<s:if test="type == FIELD_TYPE_CHECKBOX">
														<input name="${id}" type="checkbox" size="5"
															value=${id} >
													</s:if>
													<s:if test="type == FIELD_TYPE_RADIO">
														<input id="${id}" name="${id}" type="radio" size="5"
															value=${id}>
													</s:if>
													&nbsp;&nbsp;&nbsp;备注：${memo}
													<br>
												</s:iterator>
											</s:iterator>
										</td>
										<td bgcolor="#FFFFFF">
										</td>

									</tr>
								</s:iterator>
							</table>


					</form>
				</td>
			</tr>
		</table>
		<script>
		function returnBack(){
			document.location="${ctx}/workorder/field.action";
		}
		</script>
	</body>
</html>
